package reflect.pojo;

import java.io.Serializable;

public class Cat extends Pet implements Serializable {
    private String name;
    private int age;


    private String show(String name,int age){
        System.out.println("我是一只叫"+name+"的狸花猫，我的年龄是"+age+"岁");
        return String.format("我是一只叫%s狸花猫，岁数是 %d",name,age);
    }
}
